package com.api.shopapi.service;

import com.api.shopapi.entity.CheckinSetmeal;
import com.github.pagehelper.PageInfo;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author maochuan
 */
@Service
public interface CheckinSetmealService {

    int insert(CheckinSetmeal checkinSetmeal);

    int updateByCheckinSetmealCode(CheckinSetmeal checkinSetmeal);

    List<CheckinSetmeal> getListAll(String institutionCode);

    CheckinSetmeal getByCheckinSetmealCode(String checkinSetmealCode);

    CheckinSetmeal getByInstitutionCodeAndName(String institutionCode, String name);

    PageInfo<CheckinSetmeal> getPageList(int pageIndex, int pageSize, String institutionCode);

    PageInfo<CheckinSetmeal> pageByGovCode(int pageIndex, int pageSize, String governmentCode);


}
